//
//  ViewController.m
//  SLDemo
//
//  Created by bocai on 2016/12/21.
//  Copyright © 2016年 Heracles. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@property (strong, nonatomic) NSString *username;
@property (strong, nonatomic) UITextField *textField;

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    
    [RACObserve(self, username) subscribeNext:^(NSString *newUsername) {
        NSLog(@"newUsername : %@", newUsername);
    }];
    
    self.username = @"a";
    self.username = @"b";

    _textField.text = @"333";
    self.textField.text = @"123";
    
    UIDatePicker ;
}

@end
